<?php
/**
* @author: Nguyen Thanh Tung
* @date: Monday, January 27, 2014
*/
// check permission add new

if( !isset($AppUI->id)||
!isset($_SESSION['uniform'])||
isset($_SESSION['uniform'])&& ($_SESSION['uniform']&1<<1)==0)
{
	/*|| 
	(isset($AppUI->id) && !in_array($AppUI->type, array(ROLE_ROOT, ROLE_ADMINISTRATOR)))*/ 
	redirect(HOST_BACKEND);
}
$this->smarty->assign('clubid',(int)$this->uri->segment(3));
$this->smarty->display('uniform/add.tpl');